
<template>
  <div class="recommends">
    <div class="recommends-item" v-for="v in recomends " :key="v.sort">
      <a :href="v.link">
        <img :src="v.image" alt="">
        <p>{{v.title}}</p>
      </a>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    recomends: {
      type: Array,
      default() {
        return []
      }
    }
  },
  data() {
    return {}
  }
}
</script>

<style scoped>
.recommends {
  display: flex;
  width: 100%;
  padding: 10px 0 20px;
  border-bottom: 10px solid #eee;
  text-align: center;
  font-size: 12px;
}
.recommends-item {
  flex: auto;
}
.recommends a {
  display: block;
}
.recommends img {
  width: 70px;
  height: 70px;
  margin-bottom: 8px;
}
</style>
